#define _CRT_SECURE_NO_WARNINGS 1

#include "SeqList.h"

void test()
{
	SeqList p;
	SeqListInit(&p);
	SeqListPushBack(&p, 1);
	SeqListPushBack(&p, 2);
	SeqListPushBack(&p, 3);
	SeqListPushBack(&p, 4);
	
	SeqListPushFront(&p, 0);
	SeqListPushFront(&p, -1);
	SeqListPopFront(&p);
	SeqListPopFront(&p);

	SeqListPopBack(&p);
	//int ret = SeqListFind(&p, 4);
	//printf("%d\n", ret);

	SeqListInsert(&p, 3, 6);

	SeqListErase(&p, 2);

	SeqListPrint(&p);
}
int main()
{
	test();

	return 0;
}